namespace 高校员工餐饮信息管理系统.Configuration
{
    /// <summary>
    /// 邮件配置
    /// </summary>
    public class EmailSettings
    {
        /// <summary>
        /// SMTP服务器
        /// </summary>
        public string SmtpServer { get; set; } = string.Empty;
        
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; } = 587;
        
        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; } = string.Empty;
        
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = string.Empty;
        
        /// <summary>
        /// 发件人邮箱
        /// </summary>
        public string FromEmail { get; set; } = string.Empty;
        
        /// <summary>
        /// 发件人名称
        /// </summary>
        public string FromName { get; set; } = string.Empty;
    }
}

